package ygstudio.xue.de.activity;

import ygstudio.xue.de.R;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.preference.PreferenceFragment;

public class Settings extends PreferenceActivity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		getFragmentManager().beginTransaction()
				.replace(android.R.id.content, new PreferenceFragment() {
					public void onCreate(final Bundle savedInstanceState) {
						super.onCreate(savedInstanceState);
						addPreferencesFromResource(R.layout.settings);
					}
				}).commit();
	} 
}
